package com.itmuch.cloud.study.service;

import com.itmuch.cloud.study.entity.MaterialTransport;

import javax.transaction.Transactional;
import java.util.List;
import java.util.Map;

/**
 * Created by 齐丹枫 on 2017/3/23 13:08.
 */
public interface EmailOptionService {

    @Transactional
    public  boolean saveEmailSendInfo(String sender, List<String> receiver, String status);

    public List<MaterialTransport> sendEmailInfo();

    public  boolean sendEmail(String sender, Map<String, List<String>> receiver, String content, String sub);


    @Transactional
    public  void delEmailLog();


}
